package org.hdl.anima.message;
import static com.google.common.base.Preconditions.checkArgument;
/**
 * 
 * @author qiuhd
 * @since  2014年8月13日
 */
public class MessageObjWrap {

	private final IMessage message;
	private final int sender;
	
	public MessageObjWrap(int sender,IMessage message) {
		checkArgument(message != null,"message is null!");
		this.message = message;
		this.sender = sender;
	}

	public IMessage getMessage() {
		return message;
	}

	public int getSender() {
		return sender;
	}
}

